package com.edu.exam.enums.assessment.generation;

/**
 * 操作阶段枚举
 *
 * @author 系统生成
 * @version 2.0
 * @since 2025-11-09
 */
public enum OperationPhase {
    INITIALIZATION("初始化"),
    DATA_PREPARATION("数据准备"),
    RULE_VALIDATION("规则验证"),
    TASK_GENERATION("任务生成"),
    RESULT_PROCESSING("结果处理"),
    NOTIFICATION("通知发送"),
    CLEANUP("清理工作"),
    COMPLETION("完成");

    private final String description;

    OperationPhase(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        return name() + " - " + description;
    }
}